/*
 * Created by JFormDesigner on Mon Jul 05 22:36:15 BRT 2010
 */

package visualCAD;

import java.awt.*;
import javax.swing.*;
import com.jgoodies.forms.factories.*;
import com.jgoodies.forms.layout.*;

/**
 * @author Brainrain
 */
public class RemoveFeatureView extends JFrame {
	public RemoveFeatureView() {
		initComponents();
	}

	private void initComponents() {
		// JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
		label1 = new JLabel();
		featurePanel = new JPanel();
		cancelButton = new JButton();
		okButton = new JButton();

		//======== this ========
		setTitle("Remove Feature");
		Container contentPane = getContentPane();

		//---- label1 ----
		label1.setText("Chose the feature that you want to delete:");

		//======== featurePanel ========
		{
			featurePanel.setLayout(new BorderLayout());
		}

		//---- cancelButton ----
		cancelButton.setText("cancel");

		//---- okButton ----
		okButton.setText("ok");

		GroupLayout contentPaneLayout = new GroupLayout(contentPane);
		contentPane.setLayout(contentPaneLayout);
		contentPaneLayout.setHorizontalGroup(
			contentPaneLayout.createParallelGroup()
				.addGroup(contentPaneLayout.createSequentialGroup()
					.addContainerGap()
					.addGroup(contentPaneLayout.createParallelGroup()
						.addComponent(featurePanel, GroupLayout.DEFAULT_SIZE, 422, Short.MAX_VALUE)
						.addComponent(label1)
						.addGroup(GroupLayout.Alignment.TRAILING, contentPaneLayout.createSequentialGroup()
							.addComponent(okButton)
							.addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED)
							.addComponent(cancelButton)))
					.addContainerGap())
		);
		contentPaneLayout.setVerticalGroup(
			contentPaneLayout.createParallelGroup()
				.addGroup(contentPaneLayout.createSequentialGroup()
					.addContainerGap()
					.addComponent(label1)
					.addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
					.addComponent(featurePanel, GroupLayout.PREFERRED_SIZE, 49, GroupLayout.PREFERRED_SIZE)
					.addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, 167, Short.MAX_VALUE)
					.addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
						.addComponent(cancelButton)
						.addComponent(okButton))
					.addContainerGap())
		);
		pack();
		setLocationRelativeTo(getOwner());
		// JFormDesigner - End of component initialization  //GEN-END:initComponents
	}

	// JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables
	private JLabel label1;
	public JPanel featurePanel;
	public JButton cancelButton;
	public JButton okButton;
	// JFormDesigner - End of variables declaration  //GEN-END:variables
}
